﻿using K.Client;

public enum EObjType
{
    Start,				// start
    End			        // end
}

public class ObjMgr : Singleton<ObjMgr>
{
    public KObj CreateObject(EObjType vObjType)
    {
        KObj isRet = null;
        switch (vObjType)
        {
            default:
                break;
        }
        return isRet;
    }

    public int DestroyObject(long vObjId)
    {
        switch (KObj.IdTwoType(vObjId))
        {
            default:
                break;
        }
        return 0;
    }

    public KObj GetObject(long vObjId)
    {
        KObj isRet = null;
        if (vObjId == KObj.INVALID_OBJ_ID)
        {
            return isRet;
        }
        switch (KObj.IdTwoType(vObjId))
        {
            default:
                break;
        }
        return isRet;
    }
}